package com.pdf.controller;

import com.pdf.service.DocToPdfService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;

/**
 * @author PC
 * @version 1.0
 * @description: TODO
 * @date 2024/7/9 11:23
 */
@RestController
public class DocToPdfController {

    @Resource
    private DocToPdfService docToPdfService;

    @GetMapping("/toPdf/docToPdfExport")
    public void docToPdfExport(HttpServletResponse response) {
        docToPdfService.docToPdfExport(response);
    }

}
